package com.phiture.erp.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.util.HashMap;
import java.util.Map;

/**
 * @author YH
 * @date 2025/4/7
 */
@Getter
@AllArgsConstructor
public enum ErpMaterialPlanModeEnum {
    Manual_order(0, "人工订货"),
    // reorder_point(1, "再订货点"),
    // MPS(2, "MPS"),
    MRP(3, "MRP");

    private final Integer mode;
    private final String desc;

    public static final Map<Integer, String> MATERIAL_PLAN_MODE_MAP = new HashMap<>(4);
    static {
        for (ErpMaterialPlanModeEnum modeEnum : ErpMaterialPlanModeEnum.values()) {
            MATERIAL_PLAN_MODE_MAP.put(modeEnum.mode, modeEnum.desc);
        }
    }
}
